package com.wwj.auction.order.client;

import com.wwj.auction.common.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 远程接口
 */
@FeignClient("service-admin")
public interface ServiceAdminClient {

    /**
     * 查询店铺信息
     *
     * @param shopId
     * @return
     */
    @GetMapping("/admin/shop/get/store/name/{shopId}")
    R getStoreName(@PathVariable("shopId") Integer shopId);
}
